/**
 * @author blancsv@usi.ch
 */

package ch.usi.inf.pf2;

import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;

public class PanicSimLegendBar extends JPanel{
	private PanicSimMain circuit;
	private PanicSimDrawingArea area;
	
	public PanicSimLegendBar(final PanicSimMain circuit,
			final PanicSimDrawingArea area) {
		this.circuit = circuit;
		this.area = area;
		
		String trueLabel = "<html><body color=#00ff00>" + "<p>True (1) - </p>" + "</body></html>";
		String falseLabel = "<html><body color=#FFA500>" + "<p>False (0) - </p>" + "</body></html>";
		String unknownLabel = "<html><body color=#0000ff>" + "<p>Unknown</p>" + "</body></html>";
		
		JLabel legend = new JLabel("Legend : ");	
		legend.setFont(new Font("Georgia", Font.ITALIC, 16));
		
		JLabel trueLegend = new JLabel(trueLabel);
		trueLegend.setFont(new Font("Georgia", Font.ITALIC, 16));
		
		JLabel falseLegend = new JLabel(falseLabel);
		falseLegend.setFont(new Font("Georgia", Font.ITALIC, 16));
		
		JLabel unknownLegend = new JLabel(unknownLabel);
		unknownLegend.setFont(new Font("Georgia", Font.ITALIC, 16));
		
		add(legend);
		add(trueLegend);
		add(falseLegend);
		add(unknownLegend);
	}

}
